startsWith

fun startsWith(param: String, value: String, id: String? = null)

Adds a requirement that the value of the specified parameter starts with the given value

Parameters

param

parameter name

value

prefix to check

id

optional requirement id, if not specified will be generated