assertions

@JvmName(name = "assertions")
actual fun assertions(index: UInt): Map<String, Pair<String?, Boolean>>(source)

Get the property assertions for the given pattern index.

Assertions are performed using the #is? and #is-not? predicates.

Return

A map of assertions, where the first item is the optional property value and the second item indicates whether the assertion was positive or negative.

Throws

If the index exceeds the pattern count.

expect fun assertions(index: UInt): Map<String, Pair<String?, Boolean>>(source)

Get the property assertions for the given pattern index.

Assertions are performed using the #is? and #is-not? predicates.

Return

A map of assertions, where the first item is the optional property value and the second item indicates whether the assertion was positive or negative.

Throws

If the index exceeds the pattern count.

@JvmName(name = "assertions")
actual fun assertions(index: UInt): Map<String, Pair<String?, Boolean>>(source)

Get the property assertions for the given pattern index.

Assertions are performed using the #is? and #is-not? predicates.

Return

A map of assertions, where the first item is the optional property value and the second item indicates whether the assertion was positive or negative.

Throws

If the index exceeds the pattern count.

actual fun assertions(index: UInt): Map<String, Pair<String?, Boolean>>(source)

Get the property assertions for the given pattern index.

Assertions are performed using the #is? and #is-not? predicates.

Return

A map of assertions, where the first item is the optional property value and the second item indicates whether the assertion was positive or negative.

Throws

If the index exceeds the pattern count.