core.option-string-equals
- description
- Whether both are some and equal (none is never equal, since it means the value cannot be compared)
- type
Fn(a: Union{#none, #some(String)}, b: Union{#none, #some(String)}) -> Boolean- expression
fn(a$0, b$1) =>
match $0 {
#none(_) =>
false,
#some(sa$2) =>
match $1 {
#none(_) =>
false,
#some(sb$3) =>
@core.equal(left: $2, right: $3)
}
}- visibility
- public
core.option-string-equals (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc)
id: FxwKA3jkUFWbWohK9Jq2gL_R_1OTSj0Tk9tahUJi4fs
content hash: TRQjKRDULDc9TiBel5U6KF0Qq8jHPy06ADb4LMs4UIM