std.list-head
- description
- Get the first item of a list (none if the list is empty)
- type
Fn(xs: List<Number>) -> Union{#none, #some(Number)}- expression
fn(xs$1) => @core.list-get(list: $1, index: 0)
- visibility
- public
std.list-head (project definy, branch accept-new-accounts, snapshot XoN1SzeSljKEq7A884S1VlWxMBcoS3Syt0cee07GVH0) id: zj8YI34F46SIS1n2WkXkE90vgQqS4mxTtYrZ-exxr-g content hash: ehahwvWMrTMJlBKwWcSLQjtI4KnE9ephULijXnK99zo