The fruit is edible. Some varieties and
cultivars contain significant amounts of
calcium oxalate, and thus need thorough cooking before being consumed. Other cultivars contain very little to no calcium oxalate and can be eaten raw. It is an important food source in the atolls of
Micronesia and
Polynesia, with the fruit commonly eaten raw or turned into a dried paste (such as
mokwan in the
Marshall Islands or
te tuae in
Kiribati) or flour. It is also one of the traditional foods of
Maldivian cuisine. The fibrous nature of the fruit also serves as a natural dental floss. It is also used in Samoan culture as a
ula fala, a necklace made out of the dried fruit painted in red and worn by the
matai during special occasions and functions. Australian Aboriginal peoples extracted the slender, edible seeds. This seed, and the fruit, was an important food. The tree's leaves are often used as flavoring for sweet dishes. It is also used in Sri Lankan cookery, where the leaves are used to flavor a variety of curries. Leaves were used by the
Polynesians to make baskets, mats, outrigger canoe sails, thatch roofs, and grass skirts. The fragrant male flowers are used in perfumery and are also distilled to make
kewra. A large shrub or small tree of immense cultural, health, and economic importance in the Pacific, it is second only to coconut on atolls. It grows wild mainly in semi-natural vegetation in
littoral habitats throughout the tropical and subtropical Pacific, where it can withstand drought, strong winds, and salt spray. It propagates readily from seed, but it is also widely propagated from branch cuttings by local people for farms and home gardens. It grows fairly quickly, and all parts are used, from the nutritious fruits of edible varieties to the poles and branches in construction to the leaves for weaving and garlands. The plant is prominent in Pacific culture and tradition, including local medicine. Hundreds of cultivated varieties are known by their local names and characteristics of fruits, branches, and leaves. At present, there is evidence that this diversity is declining, with certain varieties becoming difficult to find. The reasons include less replanting, deforestation, fire, flagging interest by the new generation, and rapid population growth leading to urbanization. ==In culture==