View definition

(*Value).CanSlice

Defined in github.com/flosch/pongo2/value.go

Description

Checks whether the underlying value is of type array, slice or string. You normally would use CanSlice() before using the Slice() operation.

CanSlice is referenced in 2 repositories

github.com/flosch/pongo2 github.com/mattn/jedie