core.parameter-with-rank
- description
- The ID of the parameter at position rank in the order of names
- type
Fn( parameters: List<Record{parameter_id: Number, parameter_name: String}>, rank: Number, index: Number ) -> Union{#none, #some(Number)}- expression
fn(parameters$0, rank$1, index$2) => match @core.list-get(list: $0, index: $2) { #none(_) => #none, #some(parameter$10) => match @core.equal( left: @core.parameter-name-rank(parameters: $0, name: $10.parameter_name, index: 0, acc: 0), right: $1 ) { true => #some($10.parameter_id), false => @core.parameter-with-rank(parameters: $0, rank: $1, index: @core.plus(left: $2, right: 1)) } }
- visibility
- public
core.parameter-with-rank (project definy, branch compiled-tests, snapshot i6TqClmqVS9FK8rKOvJ43l6Tevx8pvYJ5-zaQqNwemc) id: LKASvvaqQALzwF2qslMYWioNGo98nY3KbDnMZ362ZKg content hash: Aiuefon_iWS0BPJmNZMjA8k6mKZDj006McpeIkIvTtU