std.byte-at-or-zero
- description
- The byte at index, or 0 when index is out of range
- type
Fn(bytes: List<Number>, index: Number) -> Number
- expression
fn(bytes$0, index$1) => match @core.list-get(list: $0, index: $1) { #none(_) => 0, #some(byte$2) => $2 }
- visibility
- public
std.byte-at-or-zero (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204) id: mBQvMpx6aJtjPK07nJ4aPGZeVcHgmMtmKGWWNv3gwK8 content hash: FMu61mt0pKmNcadDAaYJ3e4LSxEEj4nzF1qI9qw-7SU