Skip to main content

Module helpers

Module helpers 

Source

Functionsยง

get_callee_name
get_method_name
is_id_prop
is_invalid_method
is_mutating_array_method
Checks if a member property represents a mutating array method (push, pop, splice, etc.)
is_mutating_object_method
Checks if a member property represents a mutating object method (Object.assign, etc.)
is_mutation_expr
Checks if an expression represents a mutation operation Returns true if any of the following conditions are met:
is_valid_callee