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 public-release, snapshot ZhZSt7pd8D1cjWV6M1duEP19oNXR1s68fsVmzKaEgCo) id: zj8YI34F46SIS1n2WkXkE90vgQqS4mxTtYrZ-exxr-g content hash: ehahwvWMrTMJlBKwWcSLQjtI4KnE9ephULijXnK99zo